<?php echo $this->fetch('header.html'); ?>    
<?php echo $this->fetch('title.html'); ?>

<style>
    .customer_message{margin:10px;}
    .customer_message dl{width:100%;margin-bottom:10px;}
    .customer_message dt{height:30px;font-weight: bold;line-height:30px;}
    .customer_message dd{}
    .customer_message dd textarea{width:96%;height:60px;font-size:13px;color: #777 !important;font-family:"Microsoft Yahei";}
    .customer_message dd input{padding: 10px 2% !important;border: #ccc solid 1px !important;color: #777 !important;width: 96% !important;}
</style>

<div class="customer_message">
    <form method="post">
        <?php if ($this->_var['type'] == '1'): ?>
        <dl>
            <dt>意见建议：：</dt>
            <dd></dd>
        </dl>
        <?php endif; ?>
        <?php if ($this->_var['type'] == '2'): ?>
        <dl>
            <dt>投诉店铺：：</dt>
            <dd><?php echo htmlspecialchars($this->_var['store']['store_name']); ?></dd>
        </dl>
        <?php endif; ?>
        <?php if ($this->_var['type'] == '3'): ?>
        <dl>
            <dt>投诉商品：：</dt>
            <dd><?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?></dd>
        </dl>
        <?php endif; ?>
        <dl>
            <dt>提提意见:</dt>
            <dd>
                <textarea id="message" name="message"></textarea>
            </dd>
        </dl>
        <dl>
            <dt>联系人姓名：:</dt>
            <dd>
                <input type="text" id="realname" name="realname" value="">
            </dd>
        </dl>
        <dl>
            <dt>联系电话：:</dt>
            <dd>
                <input type="text" id="mobile" name="mobile" value="">
            </dd>
        </dl>

        <input type="submit" class="red_btn" value="提交" />
    </form>
</div>




<?php echo $this->fetch('footer.html'); ?>